"""

"""
import hmac
import hashlib

message = "uuid=abc123&unitPrice=100.00&quantity=2&timestamp=1620000000&aggregatedPrice=&secretKey=xxxx"
secret_key = "xxxx"

# 计算 HMAC-SHA256
hmac_hash = hmac.new(secret_key.encode(), message.encode(), hashlib.sha256).hexdigest()

print(hmac_hash.upper())